package com.caiyouxi.finance.controller;

import com.caiyouxi.common.bean.ResData;
import com.caiyouxi.finance.model.FinanceTradeDetail;
import com.caiyouxi.finance.service.FinanceTradeDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 *  @author wushihao
 *  查询所有，分页
 */
@RestController
@RequestMapping("/finance_trade_details")
public class FinanceTradeDetailController {
    @Autowired
    private FinanceTradeDetailService service;


    /**
     * @param
     * bean
     * */
    @RequestMapping("/get_financetrade_list")
    public ResData get_financetrade_list(@RequestBody FinanceTradeDetail bean){
        return service.get_financetrade_list(bean);
    }
}
